﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace kit206_A2.model
{
	public enum class_type{Lecture,Tutorial,Practical,Workshop}
	public enum Campus { All, Hobart, Launceston }
	public class unit_class
    {
        public class_type type { get; set; }
        public unit unit { get; set; }
		public string room { get; set; }

		public Campus campus { get; set; }

		//public staff staff { get; set; }

		public DayOfWeek Day { get; set; }

		public TimeSpan Start_time { get; set; }

		public TimeSpan End_time { get; set; }

		public override string ToString()
		{
			return String.Format("({0}) Unit: {1}; Class room: {2}", type,unit.get_unit(), room);
		}
	}
}
